/**
 * Created by Qingger Corp.
 * User: jsspf
 * Date: 2017/10/30
 * Time: 15:18
 */

import {sayHello} from "./greet";

function say(divName:string,name:string) {
    const elt = document.getElementById(divName);
    elt.innerText  = sayHello(name);
}

say("greeting","Typescript;");


setTimeout(function(){
    say('greeting',"CoffeeScript");
},3000);